package ltd.newbee.mall.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Auther: tangyushan
 * @Date: 2024/5/17 - 05 - 17 - 12:08
 * @Description: ltd.newbee.mall.controller
 * @version: 1.0
 */
@Controller
public class HelloController {

    @GetMapping("/hello")
    @ResponseBody
    public String hello(){
        return "hello, spring boot!";
    }
}
